<div class="container"> 
	<div class="row"> 
		<div class="panel panel-info">
			<div class="panel-heading">
				<div class="panel-title">POP Email Manager</div>
			</div>
			<div class="panel-body">
				<div class="row">
					<div class="col-md-12">
						<div class="well">
							<h3>POP Email Manager</h3>
							<hr style="background:skyblue;height:1px;">
							<div class="row">
								<div class="col-md-12" >
									<table class="table table-condensed">
                                        <thead>
                                            <tr class="success">
												<th>Domain</th>
												<th>Inbox Used</th>
												<th>Status</th>
												<th>Auto Renew</th>
												<th>Expiration</th>
                                            </tr>
                                        </thead>
                                        <tbody>
											<?php foreach($popemail as $email){
											$bundles=json_decode($email['bundleid']);
											foreach($bundles as $bundle)
											{
											?>
											<tr>
												<td><strong><?=$email['sld'].'.'.$email['tld']?></strong></td>
												<td>0 to 10</td>
												<td>Service Active</td>
												<td>No</td>
												<td><?=$email['renew_date']?></td>
											</tr>
											<?}}?>
                                        </tbody>
									</table>
								</div>
							</div>
							
						
						</div>
					</div>
				</div>	
			</div>
		</div>
	</div>
</div>
